import { nextTick } from 'vue'

export function  useScrollToErrorFormItem(){
  nextTick(() => {
    console.log('xxxxxx')
    const allerrorform = document.querySelectorAll('.is-error')
    allerrorform[0].scrollIntoView({ behavior: 'smooth' })
  })
}